projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccf7867
)
GtkNotebook: and another fix
author
Claudio Saavedra
<csaavedra@igalia.com>
Thu, 16 Feb 2012 10:32:44 +0000
(12:32 +0200)
committer
Claudio Saavedra
<csaavedra@igalia.com>
Thu, 16 Feb 2012 10:33:26 +0000
(12:33 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=669116
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index c51baf03f29c7ab232db9029c372da89df530882..cf3fde5118f5f2a8bbe8107806018e891af39de1 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-3195,7
+3195,7
@@
gtk_notebook_stop_reorder (GtkNotebook *notebook)
if (priv->has_scrolled || old_page_num != page_num)
{
- for (element = priv->children, i = 0; element; element = element->next)
+ for (element = priv->children, i = 0; element; element = element->next
, i++
)
{
if (MIN (old_page_num, page_num) <= i && i <= MAX (old_page_num, page_num))
gtk_widget_child_notify (((GtkNotebookPage *) element->data)->child, "position");